#ifndef TEXTDOWNBUTTONLISTENER_H_
#define TEXTDOWNBUTTONLISTENER_H_

#include "../../SDLtoolkit/Listener.h"
#include "../../SDLtoolkit/widgets/TextScrollBarElement.h"

#include <list>

class TextDownButtonListener: public Listener {
public:
	TextDownButtonListener();
	TextDownButtonListener(std::list<TextScrollBarElement*>* elements);
	virtual ~TextDownButtonListener();
	void execute();
private:
	std::list<TextScrollBarElement*>* elements;
	std::list<TextScrollBarElement*>::iterator it_element;
};

#endif /* TEXTDOWNBUTTONLISTENER_H_ */
